<?php
basename($_SERVER["PHP_SELF"]) == 'inc.config.php' && exit('Invalid Access!');

define('IN_MAIN', true);
define('WORK_DIR', '');// working directory for the site, precede with '/'
define('M_ROOT', dirname(__FILE__));
define('M_URL', 'http://'.$_SERVER['HTTP_HOST'].WORK_DIR);
define('TEMPLATE_PATH', M_ROOT.'/templates');
define('TEMPLATE_URL', M_URL.'/templates');
define('LANGUAGE_PATH', M_ROOT.'/languages');
define('CSS_ROOT', M_ROOT.'/css');
define('CSS_URL', M_URL.'/css');
define('JS_ROOT', M_ROOT.'/js');
define('JS_URL', M_URL.'/js');
define('AD_ROOT', M_ROOT.'/ad_image');
define('AD_URL', M_URL.'/ad_image');
define('MEMBER_URL', M_URL.'/members');
define('PROD_ROOT', M_ROOT.'/nfiles/system/prod');
define('PROD_URL', M_URL.'/nfiles/system/prod');
define('SECRET_KEY', '&*hwEW3tJ)Ii-:LK&T^&1GF>E?%G>f":}#P]0ei9v[3it8M<$UGdt6]7taDS7T^&t%w54E7dF(YHH*U)U');//preferably more than 32 chars
define('TOORIYA_SECRET_KEY', "few^8#54oId0)_9w#fdp9(3!/>'");//tooriya payment secret key

//#####GENERAL

$vars["title"]="RMC";
$vars["charset"]="utf-8";
$vars["template"]="green";
$vars["language"]="en";
$vars["language_local"]="US";
$vars["date_format"]="j/n/Y g:i:s A";
$vars["date_format_short"]="j/n/Y";
$vars["system_date_format"]="Y-m-d H:i:s";
$vars["system_date_format_short"]="Y-m-d";
$vars["inbox_date_format"]="j-M-Y";
$vars["inbox_date_format_today"]="g:i A";
$vars["ewallet_title"]="IP1";
$vars["eswallet_title"]="IP2";
$vars["mwallet_title"]="IP4";
$vars["cwallet_title"]="IP3";
$vars["swallet_title"]="SP2";
$vars["owallet_title"]="SP1";
$vars["twallet_title"]="3 Stars";
$vars["fwallet_title"]="5 Stars";
$vars["accepted_image_format"]=array("jpg","png","gif");
$vars["prod_image_max_size"]=500;//maximum image file size acceptable when uploading image for a product, in KB
$vars["prod_image_dimension_big"]=400;
$vars["prod_image_dimension_medium"]=200;
$vars["prod_image_dimension_thumb"]=80;
$vars["currency"]="";
$vars["email_signature"]="$vars[title]<br />\n".M_URL;
$vars["admin_item_per_page"]=50;
$vars["user_item_per_page"]=1000000;//unlimited
$vars["user_login_expire"]=60*60;//60 minutes
$vars["admin_login_expire"]=30*60;//30 minutes
//$vars["admin_email"]="$vars[title] <businessyew@gmail.com>";
$vars["admin_email"]="$vars[title] <no-reply@RMC.co>";
$vars["timezone_offset"]=8;//msia offset, +8 hours
$vars["admin_enc_login"]=true;//encrypted login
$vars["user_enc_login"]=true;//encrypted login
$vars["referral_cookie_duration"]=10;//how long a referral cookie should last, in day
$vars["gzip"]=false;//whether to compress the output
$vars["js_gzip"]=true;//whether to compress the javascript output
$vars["debug"]=true;//display error message if set to true, not recommended in production site

//#####DATABASE
$vars["dbi"]["host"]="localhost";
$vars["dbi"]["name"]="rmc";
$vars["dbi"]["user"]="root";
$vars["dbi"]["pass"]="";
$vars["dbi"]["prefix"]="gg_";

require_once(M_ROOT.'/e.config.php');//load extended configuration files
?>